﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Touch2.aspx.cs" Inherits="Touchscreen.Touch2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="App_Themes/Stylesheet1.css" rel="stylesheet" />
</head>
<body>
<%
    Touchscreen.FilmManager filmManager = new Touchscreen.FilmManager();
    Touchscreen.Film f;
    f = filmManager.GetFilmByFilmName((Request.QueryString["FilmName"]));

    LabelTitle.Text = f.title;
    LabelTime.Text = "Start tijd: " + f.startTime.ToShortTimeString();
    LabelRoom.Text = "Zaal: " + f.room.ToString();
    ImagePreview.ImageUrl = ImageFolder + f.image;
    LabelLanguage.Text = "Taal: ";
    ImageLanguage.ImageUrl = FlagsFolder + f.language + ".gif";

    if (f.dried == false)
    {
        ImageParentGuide.Visible = false;
        Label3dCounter.Visible = false;
        ImageButton3dDown.Visible = false;
        ImageButton3dUp.Visible = false;
        Label3dText.Visible = false;
    }
    else
    {
        ImageParentGuide.Visible = true;
        Label3dCounter.Visible = true;
        ImageButton3dDown.Visible = true;
        ImageButton3dUp.Visible = true;
        Label3dText.Visible = true;
    }     
%>
    <form id="form1" runat="server">
    <div class="FullScreen">
        <div class="ButtonNextPrevious">
            <asp:Button ID="ButtonPrevious" CssClass="FloatLeft ButtonWizard" runat="server" 
            Text="Terug" PostBackUrl="Touch1.aspx" Font-Size="Large" Height="100%" 
            Width="49%" />
        <asp:Button ID="ButtonNext" runat="server" Font-Bold="True" Font-Size="Large" 
            Height="100%" Text="Volgende" Width="49%" />
        </div>

        <div class="FilmOverview">
            <div class="FilmTitle">
                <asp:Label ID="LabelTitle" CssClass="FilmTilteText" runat="server" Text="Title"></asp:Label>
            </div>
            <div class="FilmTimeAndPlace">
                <asp:Label ID="LabelTime" CssClass="FloatLeft" runat="server" Text="Start tijd: tijd"></asp:Label>
                <asp:Label ID="LabelRoom" CssClass="FloatRight" runat="server" Text="Zaal: x"></asp:Label>
            </div>
            <div class="FilmPreviewImage">
                <asp:Image ID="ImagePreview" runat="server" 
                    ImageUrl="~/App_Themes/Images/blackswan3.jpg" Height="100%" 
                    Width="100%" />
            </div>
            <div class="FilmLanguage">
                <asp:Label ID="LabelLanguage" CssClass="FloatLeft" runat="server" Text="Taal:"></asp:Label>
                <asp:Image ID="ImageLanguage" runat="server" 
                    ImageUrl="~/App_Themes/Images/Flags/EN.gif" CssClass="Flag" />
            </div>    
            <div class="FilmParentGuide">
                <asp:Image ID="ImageParentGuide" runat="server" Height="24px" 
                    ImageUrl="~/App_Themes/Images/3d.png" Width="24px" />
            </div>
        </div>
        <div class="StapContent">
            <table class="StapContentText">
                <tr>
                    <td colspan="3" align="center">
                        Kies aantal kaartjes</td>
                </tr>
                <tr>
                    <td>
                        Volwassenen</td>
                    <td>
                        <asp:Label ID="LabelAdultCounter" runat="server" Text="Label"></asp:Label>
                    </td>
                    <td>
                        <asp:ImageButton ID="ImageButtonAdultUp" runat="server" 
                            ImageUrl="~/App_Themes/Images/up.png" onclick="ImageButtonUp_Click" />
                        <br />
                        <asp:ImageButton ID="ImageButtonAdultDown" runat="server" 
                            ImageUrl="~/App_Themes/Images/down.png" 
                            onclick="ImageButtonAdultDown_Click" />
                    </td>
                </tr>
                <tr>
                    <td>
                        Kinderen</td>
                    <td>
                        <asp:Label ID="LabelChildCounter" runat="server" Text="Label"></asp:Label>
                    </td>
                    <td>
                        <asp:ImageButton ID="ImageButtonChildUp" runat="server" 
                            ImageUrl="~/App_Themes/Images/up.png" onclick="ImageButtonChildUp_Click" />
                        <br />
                        <asp:ImageButton ID="ImageButtonChildDown" runat="server" 
                            ImageUrl="~/App_Themes/Images/down.png" 
                            onclick="ImageButtonChildDown_Click" />
                    </td>
                </tr>
                <tr>
                    <td>
                        50+&#39;ers</td>
                    <td>
                        <asp:Label ID="LabelOldPeopleCounter" runat="server" Text="Label"></asp:Label>
                    </td>
                    <td>
                        <asp:ImageButton ID="ImageButtonOldPeopleUp" runat="server" 
                            ImageUrl="~/App_Themes/Images/up.png" 
                            onclick="ImageButtonOldPeopleUp_Click" />
                        <br />
                        <asp:ImageButton ID="ImageButtonOldPeopleDown" runat="server" 
                            ImageUrl="~/App_Themes/Images/down.png" 
                            onclick="ImageButtonOldPeopleDown_Click" />
                    </td>
                </tr>
                <tr>
                    <td>
                        CJP/Studenten</td>
                    <td>
                        <asp:Label ID="LabelStudentCounter" runat="server" Text="Label"></asp:Label>
                    </td>
                    <td>
                        <asp:ImageButton ID="ImageButtonStudentUp" runat="server" 
                            ImageUrl="~/App_Themes/Images/up.png" 
                            onclick="ImageButtonStudentUp_Click" />
                        <br />
                        <asp:ImageButton ID="ImageButtonStudentDown" runat="server" 
                            ImageUrl="~/App_Themes/Images/down.png" 
                            onclick="ImageButtonStudentDown_Click" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label3dText" runat="server" Text="3D Brillen"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="Label3dCounter" runat="server" Text="Label"></asp:Label>
                    </td>
                    <td>
                        <asp:ImageButton ID="ImageButton3dUp" runat="server" 
                            ImageUrl="~/App_Themes/Images/up.png" onclick="ImageButton3dUp_Click" />
                        <br />
                        <asp:ImageButton ID="ImageButton3dDown" runat="server" 
                            ImageUrl="~/App_Themes/Images/down.png" 
                            onclick="ImageButton3dDown_Click" />
                    </td>
                </tr>
            </table>        
        </div>
    </div>

    

    </form>
</body>
</html>
